Make the blur code compile with clang
authorMatthias Clasen <mclasen@redhat.com>
Sun, 22 Mar 2015 17:48:02 +0000 (13:48 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 22 Mar 2015 17:49:24 +0000 (13:49 -0400)
commit2a444e30f7e39370191d58935b7f36b6fd25e84a
tree26d3e2eb068f8bda7de38224e4e6b1e7adc04a5c
parent4ef0c34b656f5768f9327fa4c3ae4f9c1fb3a944
Make the blur code compile with clang

clang complains that the expression involving sqrt() is not
constant, and thus refuses to accept it as a case label. So,
use precomputed values instead.

https://bugzilla.gnome.org/show_bug.cgi?id=746468
gtk/gtkcairoblur.c